# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=cookiejar
pkgver=0.0.3
pkgrel=8
pkgdesc='Cookiecutter templates discovery and management.'
arch=('any')
url='https://pypi.org/project/cookiejar/#files'
license=('BSD')
depends=('python' 'python-pager' 'python-cookiecutter')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('833a2d7903787b7058d8326f95460de9ee05ec03142076660d966a17728a5ab504061d008bd9ad9f8d27155e949a4c8d7aaeb5f8eed4a2546dc0625291944188')

build() {
  cd "$pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

